<%@ page contentType="text/html;charset=ISO-8859-1" language="java" %>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<head>
    <link href="resources/css/layout.css" rel="stylesheet" type="text/css" />
    <title><fmt:message key="label.eventos"/></title>
</head>
<body>
    <div class="titleDiv"><fmt:message key="application.title"/></div>
    <br />
    <h1><fmt:message key="label.sucesso"/></h1>
    <br />

    <table>
        <tr>
            <td class="tdLabel"><fmt:message key="label.evento.nome"/>:&nbsp;<bean:write name="eventoForm" property="nome" /></td>
        </tr>
        <tr>
            <td class="tdLabel"><fmt:message key="label.evento.descricao"/>:&nbsp;<bean:write name="eventoForm" property="descricao" /></td>
        </tr>
        <tr>
            <td class="tdLabel"><fmt:message key="label.evento.local"/>:&nbsp;<bean:write name="eventoForm" property="local" /></td>
        </tr>
        <tr>
            <td class="tdLabel"><fmt:message key="label.evento.cidade"/>:&nbsp;<bean:write name="eventoForm" property="cidade" /></td>
        </tr>
        <tr>
            <td class="tdLabel"><fmt:message key="label.evento.nomePromotor"/>:&nbsp;<bean:write name="eventoForm" property="nomePromotor" /></td>
        </tr>
        <tr>
            <td class="tdLabel"><fmt:message key="label.evento.telefone"/>:&nbsp;<bean:write name="eventoForm" property="telefone" /></td>
        </tr>
        <tr>
            <td class="tdLabel"><fmt:message key="label.evento.observacao"/>:&nbsp;<bean:write name="eventoForm" property="observacao" /></td>
        </tr>
        <tr>
            <td class="tdLabel"><fmt:message key="label.evento.data"/>:&nbsp;<bean:write name="eventoForm" property="data" /></td>
        </tr>
    </table>
    <div id="divBotoes">
        <c:url var="url" scope="page" value="/listaEventos.do">
            <c:param name="dispatch" value="getEventos" />
            <c:param name="idUsuario" value="${usuario}" />
        </c:url>
        <input type="button" value="<fmt:message key="button.label.voltar" />"  class="butStnd" onclick="document.location.href='${url}'"/>
    </div>
</body>
</html>